﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough]
    public class WhiteBalance20
    {
        private XmlAttribute[] anyAttrField;
        private float cbGainField;
        private bool cbGainFieldSpecified;
        private float crGainField;
        private bool crGainFieldSpecified;
        private WhiteBalance20Extension extensionField;
        private WhiteBalanceMode modeField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=2)]
        public float CbGain
        {
            get
            {
                return this.cbGainField;
            }
            set
            {
                this.cbGainField = value;
            }
        }

        [XmlIgnore]
        public bool CbGainSpecified
        {
            get
            {
                return this.cbGainFieldSpecified;
            }
            set
            {
                this.cbGainFieldSpecified = value;
            }
        }

        [XmlElement(Order=1)]
        public float CrGain
        {
            get
            {
                return this.crGainField;
            }
            set
            {
                this.crGainField = value;
            }
        }

        [XmlIgnore]
        public bool CrGainSpecified
        {
            get
            {
                return this.crGainFieldSpecified;
            }
            set
            {
                this.crGainFieldSpecified = value;
            }
        }

        [XmlElement(Order=3)]
        public WhiteBalance20Extension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=0)]
        public WhiteBalanceMode Mode
        {
            get
            {
                return this.modeField;
            }
            set
            {
                this.modeField = value;
            }
        }
    }
}

